﻿using UnityEngine;
using UnityEditor;
using System.Collections;

[CustomEditor(typeof(UITrigger))]
public class UITriggerEditor : Editor
{
    UITrigger trigger;
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        this.trigger = (UITrigger)this.target;

        EditorGUILayout.LabelField("ConditionLisp");
        this.trigger.ConditionLisp = EditorGUILayout.TextArea(this.trigger.ConditionLisp);

        EditorGUILayout.LabelField("ActionsLisp");
        this.trigger.ActionsLisp = EditorGUILayout.TextArea(this.trigger.ActionsLisp,GUILayout.MinHeight(45));
    }
}
